namespace AlmKickstart.Data.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Test : DbMigration
    {
        public override void Up()
        {
            DropForeignKey("dbo.ProjectTypes", "ProjectType_ProjectTypeId", "dbo.ProjectTypes");
            DropIndex("dbo.ProjectTypes", new[] { "ProjectType_ProjectTypeId" });
            DropColumn("dbo.ProjectTypes", "ProjectType_ProjectTypeId");
        }
        
        public override void Down()
        {
            AddColumn("dbo.ProjectTypes", "ProjectType_ProjectTypeId", c => c.Int());
            CreateIndex("dbo.ProjectTypes", "ProjectType_ProjectTypeId");
            AddForeignKey("dbo.ProjectTypes", "ProjectType_ProjectTypeId", "dbo.ProjectTypes", "ProjectTypeId");
        }
    }
}
